home *** CD-ROM | disk | FTP | other *** search
/ Reverse Code Engineering RCE CD +sandman 2000 / ReverseCodeEngineeringRceCdsandman2000.iso / RCE / Tools / Win95 Secrets / SETUP.Z / MODULE32.H < prev    next >
Encoding:
C/C++ Source or Header  |  1995-07-19  |  1.5 KB  |  45 lines

  1. //==================================
  2. // WIN32WLK - Matt Pietrek 1995
  3. // FILE: MODULE32.H
  4. //==================================
  5. #pragma pack(1)
  6.  
  7. typedef struct _MODREF
  8. {
  9.     struct _MODREF *pNextModRef;    // 00h
  10.     DWORD           un1;            // 04h
  11.     DWORD           un2;            // 08h
  12.     DWORD           un3;            // 0Ch
  13.     WORD            mteIndex;       // 10h
  14.     WORD            un4;            // 12h
  15.     DWORD           un5;            // 14h
  16.     PVOID           ppdb;           // 18h Pointer to process database
  17.     DWORD           un6;            // 1Ch
  18.     DWORD           un7;            // 20h
  19.     DWORD           un8;            // 24h
  20. } MODREF, *PMODREF;
  21.  
  22. typedef struct _IMTE
  23. {
  24.     DWORD           un1;            // 00h
  25.     PIMAGE_NT_HEADERS   pNTHdr;     // 04h
  26.     DWORD           un2;            // 08h
  27.     PSTR            pszFileName;    // 0Ch
  28.     PSTR            pszModName;     // 10h
  29.     WORD            cbFileName;     // 14h
  30.     WORD            cbModName;      // 16h
  31.     DWORD           un3;            // 18h
  32.     DWORD           cSections;      // 1Ch
  33.     DWORD           un5;            // 20h
  34.     DWORD           baseAddress;    // 24h
  35.     WORD            hModule16;      // 28h
  36.     WORD            cUsage;         // 2Ah
  37.     DWORD           un7;            // 2Ch
  38.     PSTR            pszFileName2;   // 30h
  39.     WORD            cbFileName2;    // 34h
  40.     DWORD           pszModName2;    // 36h
  41.     WORD            cbModName2;     // 3Ah
  42. } IMTE, *PIMTE;
  43.  
  44. #pragma pack()
  45.